package com.z1.core.web.model;

public enum PermissionType {
	
	//空
	NULL(-1, ""),
	//新增
    INSERT(0, "INSERT"),
    //删除
    DELETE(1, "DELETE"),
    //修改
    MODIFY(2, "MODIFY"),
    //查询
    QUERY(3, "QUERY");
    
	private int code = 0;
	private String value = "";
    private PermissionType(int code, String value) {
    	this.code = code;
    	this.value = value;
    }
    
	public int getCode() {
		return code;
	}
	
	public String getValue() {
		return value;
	}
	
}
